package com.sojson.util.swagger.use.entity;

import com.sojson.base.impl.BaseDto;
import com.sojson.util.swagger.test.entity.SwaggerTestBean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 添加一下就行
 */
@ApiModel("")
public class SwaggerUseBean extends BaseDto {

    /***/
    private static final long serialVersionUID = -8629511213136502105L;

    /**
     * name:        重写属性名字
     * value:       字段说明
     * dataType:    重写属性类型
     * required:    是否必填
     * example:     例子
     * hidden:      隐藏
     */
    @ApiModelProperty("测试字段1")
    private String beanTest1;
    @ApiModelProperty("测试字段2")
    private String beanTest2;
    @ApiModelProperty("测试字段3")
    private Integer beanTest3;
    @ApiModelProperty(value = "测试字段4")
    private SwaggerTestBean swaggerBean;

    public String getBeanTest1() {
        return beanTest1;
    }

    public void setBeanTest1(String beanTest1) {
        this.beanTest1 = beanTest1;
    }

    public String getBeanTest2() {
        return beanTest2;
    }

    public void setBeanTest2(String beanTest2) {
        this.beanTest2 = beanTest2;
    }

    public Integer getBeanTest3() {
        return beanTest3;
    }

    public void setBeanTest3(Integer beanTest3) {
        this.beanTest3 = beanTest3;
    }

    public SwaggerTestBean getSwaggerBean() {
        return swaggerBean;
    }

    public void setSwaggerBean(SwaggerTestBean swaggerBean) {
        this.swaggerBean = swaggerBean;
    }

}